class Player (object):
    def __init__(self, name = "", ID = "", score = "", **myhash):
        self.name = name
        self.ID = ID
        self.score = score
        self.myhash = myhash
        
#create an empty list
playerList = []

#populate list with 2 instances of the class 'Player'
playerList.append(Player("mike","2","1"))
#playerList.append(Player(name, ID, score))

#test empty myhash
print playerList[0].myhash

#assign an entry to the dictionary of each class instance
playerList[0].myhash['player0'] = 0
#playerList[1].myhash['player1'] = 1

#print dictionary of first class instance
print playerList[0].myhash

#print dictionary of second class instance
#print playerList[1].myhash


